/* 
 * File:   Grid.h
 * Author: mori
 *
 * Created on April 29, 2011, 1:18 AM
 */
#include <cstdlib>
#include <stdio.h>
#include <iostream>

#ifndef GRID_H
#define	GRID_H
class Grid {
  public: 
      
         Grid(float left_r, float right_r, float up_z, float down_z, int num_r, int num_z);
      
   float getLeftR() {
       return its_left_r;
   };
   
   float getRightR() {
       return its_right_r;
   };
   
   float getUpZ() {
       return its_up_z;
   };
   
   float getDownZ() {
       return its_down_z;
   };
   
   float getHR() {
       return h_r;
   };
   
   float getHZ() {
       return h_z;
   };
   
   float getDelta();

   int getNumberR() {return its_num_r;}
   int getNumberZ() {return its_num_z;}

   float getPointR(int i);
   float getPointZ(int j);
  private:
      Grid() {};
    float its_left_r, its_right_r, its_up_z, its_down_z;
      int its_num_r, its_num_z;
    float h_r, h_z;  
};


#endif	/* GRID_H */

